home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / NPP.PAK / GOTODLG.CPP < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  56 lines

  1. // gotodlg.cpp : implementation file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13.  
  14. #include "stdafx.h"
  15. #include "np.h"
  16. #include "gotodlg.h"
  17.  
  18. #ifdef _DEBUG
  19. #undef THIS_FILE
  20. static char BASED_CODE THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CGotoDlg dialog
  25.  
  26.  
  27. CGotoDlg::CGotoDlg(CWnd* pParent /*=NULL*/)
  28.     : CDialog(CGotoDlg::IDD, pParent)
  29. {
  30.     //{{AFX_DATA_INIT(CGotoDlg)
  31.     m_nLineNum = 1;
  32.     //}}AFX_DATA_INIT
  33. }
  34.  
  35.  
  36. void CGotoDlg::DoDataExchange(CDataExchange* pDX)
  37. {
  38.     CDialog::DoDataExchange(pDX);
  39.     //{{AFX_DATA_MAP(CGotoDlg)
  40.     DDX_Text(pDX, IDC_GOTO_LINE, m_nLineNum);
  41.     //}}AFX_DATA_MAP
  42. }
  43.  
  44.  
  45. BEGIN_MESSAGE_MAP(CGotoDlg, CDialog)
  46.     //{{AFX_MSG_MAP(CGotoDlg)
  47.     //}}AFX_MSG_MAP
  48. END_MESSAGE_MAP()
  49.  
  50. void CGotoDlg::OnCancel() 
  51. {
  52.     // TODO: Add extra cleanup here
  53.     
  54.     CDialog::OnCancel();
  55. }
  56.